#!/usr/bin/python3

import openai
import secrets_info

api_key = secrets_info.GPT4_API_KEY
openai.api_base = secrets_info.GPT4_URL_BASE

model="gpt-3.5-turbo-0613"
openai.api_key = api_key

# 调用OpenAI ChatCompletion.create函数进行对话生成
response = openai.ChatCompletion.create(
    model=model,
    messages=[
        {
            "role": "user",
            "content": "hello"
        }
    ]
)

print(response)

